package net.lzzy.practices.web.models;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
@ApiModel(description = "创建/更新课程需要的相关参数")
public class CourseInfo extends  BaseInfo{
    @ApiModelProperty(value = "课程名", required = true)
    private String name;
    @ApiModelProperty(value = "课程描述", required = true)
    private String desc;
    @ApiModelProperty(value = "课程封面", required = true)
    private String cover;
    @ApiModelProperty(value = "是否公开", required = true)
    private boolean open;
    @ApiModelProperty(value = "教师id", required = true)
    private String teacherId;

}
